
library(quantmod)

# sz , ss, hk
#setSymbolLookup(nodata=list(name='002711.sz',src='google'));

#getSymbols("nodata", from='2017-03-23', to='2017-03-27')
#getSymbols(c("000158.sz"), src='yahoo')

getSymbols.google(c("000158.sz"))

#last(NJYH)

#chartSeries(NJYH,up.col = 'red', dn.col = 'green')
#addMACD()
#addBBands()

#allsyms <- stockSymbols()